export class HydrodynamicData {
    // NOTE: 水动力学模型数据
    constructor( 
        i: number = 0,
        j: number = 0,
        layer: number = 0,
        totalFlux: number = 0,
        waterLevel: number = 0,
        waterDepth: number = 0,
        USpeed: number = 0,
        VSpeed: number = 0,
        WSpeed: number = 0,
        flux: number = 0,
        temperature: number = 0,
        salinity: number = 0,
        colorants: number = 0,
        X: number | null = null, // 可以根据实际需要定义类型，这里假设为number或null
        Y: number | null = null, // 可以根据实际需要定义类型，这里假设为number或null
        Z: number | null = null  // 可以根据实际需要定义类型，这里假设为number或null
    ) {
        this.i = i;
        this.j = j;
        this.layer = layer;
        this.totalFlux = totalFlux;
        this.waterLevel = waterLevel;
        this.waterDepth = waterDepth;
        this.USpeed = USpeed;
        this.VSpeed = VSpeed;
        this.WSpeed = WSpeed;
        this.flux = flux;
        this.temperature = temperature;
        this.salinity = salinity;
        this.colorants = colorants;
        this.X = X;
        this.Y = Y;
        this.Z = Z;
    }
 
    // 类型注解可以进一步添加到类的属性上，如果需要的话
    i: number;
    j: number;
    layer: number;
    totalFlux: number;
    waterLevel: number;
    waterDepth: number;
    USpeed: number;
    VSpeed: number;
    WSpeed: number;
    flux: number;
    temperature: number;
    salinity: number;
    colorants: number;
    X: number | null;
    Y: number | null;
    Z: number | null;
}